/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.sjtu.constants;

/**
 *
 * @author Administrator
 */
public class Constants {

    //user status
    public static final int UserStatus_Regist = 0;
    public static final int UserStatus_Check = 1;
    public static final int UserStatus_Reject = -1;
    //userbookinfo status
    public static final int BorrowStatus_BorrowRequest = 0;
    public static final int BorrowStatus_BorrowCheck = 1;
    public static final int BorrowStatus_BorrowDeny = 2;
    public static final int BorrowStatus_ReturnRequest = 3;
    public static final int BorrowStatus_ReturnCheck = 4;
    public static final int BorrowStatus_ReturnDeny = 5;
    //purchase request status
    public static final int purchaseRequest_SubmitRequest = 0;
    public static final int purchaseRequest_adminAgreed = 1;
    public static final int purchaseRequest_adminRejected = -1;
    public static final int purchaseRequest_adminpostpone = 2;
    public static final int purchaseRequest_adminsolved = 3;
}
